package com.ruoyi.basis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 住户管理对象 t_resident
 * 
 * @author ruoyi
 * @date 2022-10-17
 */
public class Resident extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 小区名 */
    @Excel(name = "小区名")
    private Integer communityId;

    /** 楼栋名 */
    @Excel(name = "楼栋名")
    private Integer buildId;

    /** 住户 */
    @Excel(name = "住户")
    private String resident;

    /** 居民电话 */
    @Excel(name = "居民电话")
    private String phone;

    /** 居民地址 */
    @Excel(name = "居民地址")
    private String address;

    /** 核酸状态 */
    @Excel(name = "核酸状态")
    private Integer status;

    /** 描述 */
    @Excel(name = "描述")
    private String descri;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCommunityId(Integer communityId) 
    {
        this.communityId = communityId;
    }

    public Integer getCommunityId() 
    {
        return communityId;
    }
    public void setBuildId(Integer buildId) 
    {
        this.buildId = buildId;
    }

    public Integer getBuildId() 
    {
        return buildId;
    }
    public void setResident(String resident) 
    {
        this.resident = resident;
    }

    public String getResident() 
    {
        return resident;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDescri(String descri) 
    {
        this.descri = descri;
    }

    public String getDescri() 
    {
        return descri;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communityId", getCommunityId())
            .append("buildId", getBuildId())
            .append("resident", getResident())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("descri", getDescri())
            .toString();
    }
}
